package com.iwop.moto.service;

import com.iwop.moto.model.MOrderService;
import com.iwop.moto.model.SuperRecordModel;

import java.util.List;

/**
 * Created by Administrator on 2016/9/1.
 */
public interface FOrderServiceService {
    void insertStoreOrder(SuperRecordModel srModel);

    void insertStoreGoods(SuperRecordModel srmDetail);

    void updateStoreOrder(SuperRecordModel srModel);

    SuperRecordModel getStoreOrder(SuperRecordModel srModel);

    void updateStoreOrderStatus(SuperRecordModel SRModel);

    List<SuperRecordModel> getStoreOrderDetail(String sid);

    void deleteStoreOrderDetail(String sid);

    List<SuperRecordModel> getStoreOrderDetailList(SuperRecordModel srModel);

    SuperRecordModel getStoreOrderBySid(String sid);

    List<SuperRecordModel> getStoreOrderList(SuperRecordModel srModel);

    SuperRecordModel getStoreOrderDetailByServiceId(SuperRecordModel srModel);

    List<SuperRecordModel> getStoreServiceForUserList(SuperRecordModel srModel);

    List<SuperRecordModel> getStoreOrderByService(String service_id);

    SuperRecordModel getStoreOrderByOrderNo(String outTradeNo);

    MOrderService getStoreOrderByOrderNoAndPushStatus(MOrderService mOrderService);

    SuperRecordModel getStoreOrderByPayOrderNo(String payOrderNo);

    SuperRecordModel findStoreOrderByOrderId(String outTradeNo);
}
